from turbogears import widgets
from mnemoply import reports
from mnemoply.utils import IdsValidator

class CalendarPlanReport(reports.RDSReport):
    name = _("Calendar plan")
    tag = "CalendarPlan"
    report_type = reports.RDSReportType.WORD_MULTIPAGE
    template_module = "mnemoply.templates.reports.calendar_plan"

    fields = [
        widgets.HiddenField(name="ids", label=_("IDs"), validator=IdsValidator),
    ]

exposed = CalendarPlanReport()
